# !/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time : 2021/4/27 22:41
# @Author : daijun
# @Email : 1151737817@qq.com
# @File : 11.py
# @Software: PyCharm
# list1 = [1, -3, 6, 3, 1, -4, -9]
# print(sorted(list1,reverse=True))
# print(sorted(list1))
# print(sorted(list(filter(lambda a:a<0,list1)),reverse=True))

# def func7(a):
#     n=0
#     for i in range(len(a)):
#         if str(a[i]).isdigit():
#             if n==0:
#                 n=i
#             elif int(a[i])%2!=0:
#                  a.insert(n,a[i])
#                  del a[i+1:i+2]
#     return a
#
# s = 'djadf13124dafaeassdDD'
# b=sorted(s,key=ascii)[::-1]
# d=func7(b)
# print(d)